home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14149 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
  2. From: grantp@usa.pipeline.com(Pete Grant)
  3. Newsgroups: comp.lang.c++,
  4. Subject: Re: Dos window problem with VISUAL C++
  5. Date: 29 Mar 1996 01:02:30 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4jfcr6$pp@news1.h1.usa.pipeline.com>
  8. References: <4jf7u8$ba7@zeus.tcp.co.uk>
  9. NNTP-Posting-Host: 38.8.120.16
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete Grant)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 28, 1996 23:37:56 in article <Dos window problem with VISUAL C++>,
  16. 'daveg@tcp.co.uk (David)' wrote: 
  17.  
  18.  
  19. >I've just got hold of a copy of Visual C++ v2.0. Now all I want to do 
  20. >at the moment is to write simple programs either in c or c++. 
  21. >When I actually run the program, a dos windows prints the output, 
  22. >flashses momentarily and disappears. Is it possible to configure it 
  23. >somehow to display it in a 'windows' window like in v1.0. 
  24. Make your apps Console Applications. 
  25.  
  26. The system automatically holds the window open until you 
  27. type a character, at least it does with 4.1.  To my recollection, 
  28. 2.0 did the same.  If not, it's easy enough to do it 
  29. yourself with:  char c; cin >> c;. 
  30.  
  31. -- 
  32. Pete Grant 
  33. Kalevi, Inc. 
  34. Software Engineering & development
  35.